package progress.exa28_1.part3;

public class Test {
    public static void main(String[] args) {

        //创建任务线程类，其中已经包含了任务
        Thread thread1 = new TaskThreadDemo('a',100);
        Thread thread2 = new TaskThreadDemo('b',100);

        thread1.start();//线程1开始运行
        thread2.start();//线程2开始运行

    }
}
